<?php

namespace common\validate;


class ProjectRelationTemplateTodo extends BaseValidate
{
    // 验证规则
    protected $rule = [];

    public function sceneSetMember()
    {
        return $this->append("data.template_todo_id", "require|integer")
            ->append("data.project_id", "require|integer")
            ->append("data.stage_id", "integer")
            ->append("data.is_open", "require");
    }

}
